WprAddons\Modules\ThemeBuilder\Woocommerce\ProductAddToCart\Widgets\Wpr_Product_AddToCart S

Total Complexity 21
Dependencies 5
Dependents 0
Total lines 2,111
Lines of code 1,899
Logical lines of code 191
Comment lines 22
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
register_controls()
D
3
1 1,808
render()
A
42 9 54
get_categories()
S
79 2 3
get_name()
S
82 1 3
get_title()
S
79 1 3
get_icon()
S
82 1 3
get_keywords()
S
79 1 3
get_script_depends()
S
79 1 3
change_clear_text()
S
78 1 3
custom_wc_add_to_cart_message()
S
75 1 4
action_woocommerce_add_to_cart()
S
83 1 3
woocommerce_header_add_to_cart_fragment()
S
66 1 9